package com.neutech.shop.mapper;

import com.neutech.shop.entity.User;

import java.util.List;

/**
 * @author Neuedu-远哥
 * @version 1.0
 * @date 2021/9/22 9:36
 */
public interface UserMapper {

    List<User> selectAll();

    void insert(User user);

    void delete(Long id);

    User selectById(Long id);

    void update(User user);

    void updateStatus(User user);

    User findByUsername(String username);
}
